<script setup>

import router from "@/apps/client/router.js";

const goTo = (page) => {
  router.push({ name: page });
};
// goTo("home")
</script>
<!--style="max-width: 400px"-->
<template >
  <div class="mobile-wrapper">
      <router-view ></router-view>
  </div>
</template>

<style scoped>
.mobile-wrapper {
  max-width: 400px;    /* 手机常用宽度 */
  margin: 0 auto;      /* 页面居中 */
  min-height: 100vh;
  background: #fff;
  box-sizing: border-box;
}
</style>

<style>
/* 全局设置 van-nav-bar 左边返回文字字体大一点 */
.van-nav-bar__text {
  font-size: 17px !important;
}
</style>